import 'dotenv/config'

export default {
  development: {
    url: process.env.DB_URL,
    dialect: 'mysql',
    timezone: '+08:00',
    dialectOptions: {
      decimalNumbers: true
    },
    logQueryParameter: true,
  },
  test: {
    url: process.env.DB_URL,
    dialect: 'mysql',
    timezone: '+08:00',
    dialectOptions: {
      decimalNumbers: true
    },
    logQueryParameter: true,
  },
  production: {
    url: process.env.PROD_DB_URL,
    dialect: 'mysql',
    timezone: '+08:00',
    dialectOptions: {
      decimalNumbers: true
    },
  },
}
